package com.zzt.entity;

import lombok.ToString;

@ToString
public class Gwc {

    private Integer gwcid;

    private Integer mno;

    private Integer gno;

    private String gname;

    private String pic;

    private Float price;

    private Integer num;

    public Integer getGwcid() {
        return gwcid;
    }

    public void setGwcid(Integer gwcid) {
        this.gwcid = gwcid;
    }

    public Integer getMno() {
        return mno;
    }

    public void setMno(Integer mno) {
        this.mno = mno;
    }

    public Integer getGno() {
        return gno;
    }

    public void setGno(Integer gno) {
        this.gno = gno;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Gwc(Integer gwcid, Integer mno, Integer gno, String gname, String pic, Float price, Integer num) {
        this.gwcid = gwcid;
        this.mno = mno;
        this.gno = gno;
        this.gname = gname;
        this.pic = pic;
        this.price = price;
        this.num = num;
    }

    public Gwc(Integer mno, Integer gno, String gname, String pic, Float price, Integer num) {
        this.mno = mno;
        this.gno = gno;
        this.gname = gname;
        this.pic = pic;
        this.price = price;
        this.num = num;
    }

    public Gwc(Integer mno, Integer gno, String gname, String pic, Float price) {
        this.mno = mno;
        this.gno = gno;
        this.gname = gname;
        this.pic = pic;
        this.price = price;
    }
}